.class Limoblife/yogamoment/lite/PlayControl$16;
.super Landroid/telephony/PhoneStateListener;
.source "PlayControl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/PlayControl;->dealTelephony()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field iscomming:Z

.field isplaying:Z

.field final synthetic this$0:Limoblife/yogamoment/lite/PlayControl;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/PlayControl;)V
    .locals 1
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    .line 992
    invoke-direct {p0}, Landroid/telephony/PhoneStateListener;-><init>()V

    .line 994
    const/4 v0, 0x1

    iput-boolean v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    .line 996
    const/4 v0, 0x0

    iput-boolean v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->iscomming:Z

    return-void
.end method


# virtual methods
.method public onCallStateChanged(ILjava/lang/String;)V
    .locals 3
    .parameter "state"
    .parameter "incomingNumber"

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 1000
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    if-nez v0, :cond_0

    .line 1054
    :goto_0
    return-void

    .line 1005
    :cond_0
    packed-switch p1, :pswitch_data_0

    .line 1053
    :goto_1
    invoke-super {p0, p1, p2}, Landroid/telephony/PhoneStateListener;->onCallStateChanged(ILjava/lang/String;)V

    goto :goto_0

    .line 1010
    :pswitch_0
    iget-boolean v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_1

    .line 1011
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 1013
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iput-boolean v1, v0, Limoblife/yogamoment/lite/PlayControl;->isdealTelaphony:Z

    .line 1014
    iput-boolean v1, p0, Limoblife/yogamoment/lite/PlayControl$16;->iscomming:Z

    goto :goto_1

    .line 1021
    :pswitch_1
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 1023
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 1024
    iput-boolean v2, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    .line 1031
    :cond_2
    :goto_2
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iput-boolean v2, v0, Limoblife/yogamoment/lite/PlayControl;->isdealTelaphony:Z

    goto :goto_1

    .line 1026
    :cond_3
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_2

    iget-boolean v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->iscomming:Z

    if-nez v0, :cond_2

    .line 1027
    iput-boolean v1, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    goto :goto_2

    .line 1038
    :pswitch_2
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_5

    .line 1039
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 1040
    iput-boolean v2, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    .line 1044
    :cond_4
    :goto_3
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iput-boolean v2, v0, Limoblife/yogamoment/lite/PlayControl;->isdealTelaphony:Z

    .line 1045
    iput-boolean v2, p0, Limoblife/yogamoment/lite/PlayControl$16;->iscomming:Z

    goto :goto_1

    .line 1041
    :cond_5
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$16;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl;->homeplay:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_4

    .line 1042
    iput-boolean v1, p0, Limoblife/yogamoment/lite/PlayControl$16;->isplaying:Z

    goto :goto_3

    .line 1005
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method
